import javax.naming.Name;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/8 10:20
 * @description:
 */
public class Company_Demo {

  public static void main(String[] args) {
Company taobao=new Company();
taobao.setName("淘宝");
taobao.setNum(4000);
taobao.output();
//创建对象初始化,调动有参数方法实现吃石化;
    Company qq=new Company("腾讯",1000);
  qq.output();
  }

}
